package com.wanho.qz103.hrsaas.sys.vo;

import com.wanho.qz103.hrsaas.sys.pojos.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * 封装：接口api 根据token 获得用户信息
 *  接口中 ：roles属性 对象值
 * 获取用户基本资料
 * 基本信息
 * Path： /sys/profile
 *
 * Method： POST
 */
@Data
public class RoleVO extends Role {
    /** 当前角色关联的 权限id */
    private List<String> permIds ;

    private List<String> menus = Arrays.asList("employees","settings","permissions","social_securitys","approvals","attendances","salarys","departments");
    private List<String> points = new ArrayList<>();
    private List<String> apis = new ArrayList<>() ;
}
